﻿<%@ Page Language="VB" MasterPageFile="~/WebForm/MasterPage.master" AutoEventWireup="false"
    CodeFile="ManageEmployee.aspx.vb" Inherits="WebForm_ManageEmployee" EnableEventValidation="false" %>

<%@ Register Src="~/WebForm/ManageEmployee/AddEmployee.ascx" TagName="AddEmployee"
    TagPrefix="My" %>
<%@ Register Src="~/WebForm/ManageEmployee/SearchEmployee.ascx" TagName="SearchEmployee"
    TagPrefix="My" %>
<%@ Register Assembly="App_Code" Namespace="My" TagPrefix="My" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table align="center" width="95%">
        <tr>
            <td align="center">
                <asp:Label ID="Title" runat="server" SkinID="title" meta:resourcekey="Page"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:LinkButton ID="lknAdd" runat="server" meta:resourcekey="lknAdd" 
                   ></asp:LinkButton>
            </td>
        </tr>          
        <tr>
            <td>
                <asp:UpdatePanel ID="up" runat="server" UpdateMode="conditional">
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="lknAdd" />
                    </Triggers>
                    <ContentTemplate>
                        <ajaxToolkit:TabContainer ID="TabContainer1" runat="server" AutoPostBack="false"
                            ActiveTabIndex="0">
                            <ajaxToolkit:TabPanel ID="SearchTabPanel" runat="server" meta:resourcekey="SearchTabPanel">
                                <ContentTemplate>
                                <asp:MultiView ID="mvEmployee" runat="server" ActiveViewIndex="0">
                                <asp:View ID="vwSearch" runat="server">
                                <My:SearchEmployee ID="SearchEmployee1" runat="server" />
                                </asp:View>
                                <asp:View ID="vwAdd" runat="server">
                                 <My:AddEmployee ID="AddEmployee1" runat="server" />
                                </asp:View>
                                </asp:MultiView>
                                </ContentTemplate>
                            </ajaxToolkit:TabPanel>
                        </ajaxToolkit:TabContainer>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
    </table>
    <br />

   <%-- <script>
if (ie5||ns6)  
  menuobj=document.getElementById("<%= Me.Panel2.ClientID %>")  ;
  
  //alert(document.onclick);
    </script>--%>

</asp:Content>
